package com.wwx.service.impl;

import java.util.List;

import com.wwx.dao.RankingDao;
import com.wwx.dao.impl.RankingDaoImp;
import com.wwx.entity.CartoonDO;
import com.wwx.service.RankingService;


/**
 * 排行榜的service
 * @author Wyndem
 *
 */
public class RankingServiceImp implements RankingService {
	RankingDao dao=new RankingDaoImp();
	
	@Override
	public List<CartoonDO> ticketTop(int number) {
		
		return dao.ticketTop(number);
	}

	@Override
	public List<CartoonDO> clickTop(int number) {
		return dao.clickTop(number);
	}

	@Override
	public List<CartoonDO> collectionTop(int number) {
		return dao.collectionTop(number);
	}

	@Override
	public List<CartoonDO> ticketTop(String type, int number) {
		return dao.ticketTop(type, number);
	}

	@Override
	public List<CartoonDO> clickTop(String type, int number) {
		return dao.clickTop(type, number);
	}

	@Override
	public List<CartoonDO> collectionTop(String type, int number) {
		return dao.collectionTop(type, number);
	}

}
